package com.huawei.aiservice.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_file")
public class FileEntity {

    @TableId(type = com.baomidou.mybatisplus.annotation.IdType.AUTO)
    private int fileId;

    private int reportId;

    private String fileName;

    private String filePath;

    public FileEntity(int reportId, String fileName, String filePath) {
        this.reportId = reportId;
        this.fileName = fileName;
        this.filePath = filePath;
    }
}
